import com.sun.jmx.remote.internal.ArrayQueue;

import java.util.LinkedList;
import java.util.Queue;
import java.util.Scanner;

public class Main {
    //第二题
    public static void main(String[] args) {

    }


    //第一题
    /*public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        StringBuilder s = new StringBuilder(in.nextLine());
        Queue<Character> que = new LinkedList<>();
        int count = 0;
        int flg = 0;
        for (int i = 0; i < s.length(); i++) {
            que.offer(s.charAt(i));
            if(s.charAt(i) == ' ' && flg == 0){
                que.offer(' ');
                count++;
            }
            if(flg == 0 &&s.charAt(i) == '"'){
                flg = 1;
            }else if(flg == 1 &&s.charAt(i) == '"'){
                i++;
                flg =0;
            }

        }
        count++;
        System.out.println(count);
        int n = 0;
        for (int i = 0; i < count; i++) {
            StringBuilder ret = new StringBuilder();

            while (!que.isEmpty() &&que.peek()!=' ' ){
                if(que.peek() == '"'){
                    que.poll();
                }
                if(!que.isEmpty()) {
                    ret.append(que.poll());
                }
            }
            if(!que.isEmpty()&& que.poll()== ' ' && que.peek()== ' '){
                System.out.println(ret);
            }

            if(i == count - 1){
                System.out.println(ret);
                break;
            }
            que.poll();

        }

    }*/
}
